﻿
@{
    Layout = null;
}

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
    <title>天地图·山东</title>
    <link href="~/Content/Map/css/newTemplate.css" rel="stylesheet" />
    <script type="text/javascript" src="~/Scripts/map/jquery.min.js"></script>
    <script type="text/javascript" src="~/Scripts/map/common/portal.js"></script>
    <script type="text/javascript" src="~/Scripts/map/common/topPageMap.js"></script>
    <script type="text/javascript">
        navActiveIndex = 5;
        $(function () {
            //验证权限
            checkAuthority("", function (data) {
            });
            var h = $(window).height();
            $("#content").height(h-100);
        });
        function SetIndex() {
            var index = getQueryString('index');
            var Tif = $('#iframe');
            switch (index) {
                case "1": ; Tif.attr("src", "MapAPI");break
                default: Tif.attr("src", "MapAPI");
            }
        };
        function getQueryString(name) {
            var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
            var r = window.location.search.substr(1).match(reg);
            if (r != null) {
                return unescape(r[2]);
            }
            return null;
        }
    </script>
</head>
<body onload="SetIndex()" style="overflow:hidden;height:100%" oncontextmenu="return false;">
    <div id="content" data-calc-height="100%-100px" style="position:absolute;top:100px;width: 100%;">
        <iframe id="iframe" marginwidth="0" marginheight="0" width="100%" height="100%" data-calc-height="100%-0" frameborder="0"></iframe>
    </div>
    <div id="pageLogo" style="position: absolute;width: 249px;height: 41px;background: url(../../images/common/apimap_cont_trams.png) -25px -31px;top: 98px;"></div>

</body>
</html>